#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int n;
  cin >> n;
  vector<int> v = {1};
  for (int i = 2; i <= n; ++i) {
    vector<int> rev = v;
    reverse(rev.begin(), rev.end());
    v.push_back(i);
    for (auto el : rev) v.push_back(el);
  }
  for (auto el : v) cout << el << ' ';
}
